import java.util.Scanner;
import java.util.logging.XMLFormatter;

public class maney {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String x;
        System.out.println("请输入小张性别");
        x = s.next();
        String n;
        System.out.println("请输入小王性别");
        n = s.next();
            if (x.equals(n)) {
                System.out.println("对不起，你们不能结婚");

            }
            else {
                System.out.println("恭喜，你们可以结婚");

            }

        }
    }



